<?php
/**
 * Created by PhpStorm.
 * User: godjarvis
 * Date: 2020/08/05
 * Time: 09:30
 */

namespace App\Http\Requests\Index;

use Fresh\Annotation\RequestRule;
use Fresh\Mvc\FormRequest;
use Fresh\Annotation\RequestParam;

class LoginRequest extends FormRequest
{
    /**
     * @RequestParam()
     * @RequestRule("required")
     * @var string
     */
    public $username;

    /**
     * @RequestParam()
     * @RequestRule("required")
     * @var string
     */
    public $password;
}
